﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Ue.Infrastructure.RepositoryFramework;
using Ue.Qcdz.Domain.Shops;

namespace Ue.Qcdz.Domain.ShopSinglePages
{
    public interface IShopSinglePageRepository : IRepository<ShopSinglePage>
    {
        /// <summary>
        /// 按标题获取单页（第一条）
        /// </summary>
        /// <param name="title"></param>
        /// <returns></returns>
        ShopSinglePage GetSinglePage(string title,Shop shop);
        /// <summary>
        /// 删除所有单页
        /// </summary>
        /// <param name="shop"></param>
        void RemoveAll(Shops.Shop shop);

    }
}
